package com.lzy.product.dtos.profit;

import java.io.Serializable;

/**
 * 分利执行错误Dto
 * Created by WIN7 on 2017/12/5.
 */
public class ProfitErrorDto implements Serializable {

    private static final long serialVersionUID = 2303958036232008478L;
    /**
     * 订单号
     */
    private Long orderId;

    /**
     * 错误码
     */
    private String errorCode;

    /**
     * 错误详情
     */
    private String errorMsg;

    /**
     * 处理状态：0-待处理，1-处理成功, 2-处理失败
     */
    private Integer status;

    /**
     * 执行时间
     */
    private String executeTime;

    private String statusStr;

    /**
     * 查询订单号
     */
    private String key;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode == null ? null : errorCode.trim();
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg == null ? null : errorMsg.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getExecuteTime() {
        return executeTime;
    }

    public void setExecuteTime(String executeTime) {
        this.executeTime = executeTime == null ? null : executeTime.trim();
    }

    public String getStatusStr() {
        return statusStr;
    }

    public void setStatusStr(String statusStr) {
        this.statusStr = statusStr;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }
}
